using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_ThietBiEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_ThietBiEntity()
         {
             tableName = "TBL_ThietBi";


			 fieldInfos.Add(new FieldInfo("TBL_ThietBi","MaDonVi","MaDonVi","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ThietBi","MaLoaiTB","MaLoaiTB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ThietBi","MaTB","MaTB","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ThietBi","TenTB","TenTB","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ThietBi","ThongTinCauHinh","ThongTinCauHinh","string",500,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaDonVi;
		 protected string m_MaLoaiTB;
		 protected string m_MaTB;
		 protected string m_TenTB;
		 protected string m_ThongTinCauHinh;

		 public string MaDonVi

          { 
                get { 
                    return m_MaDonVi;}

                set{m_MaDonVi=value;

                    GetField("MaDonVi").Set();
                    GetField("MaDonVi").IsNull=(value == null);           
                    }
          }
		 public string MaLoaiTB

          { 
                get { 
                    return m_MaLoaiTB;}

                set{m_MaLoaiTB=value;

                    GetField("MaLoaiTB").Set();
                    GetField("MaLoaiTB").IsNull=(value == null);           
                    }
          }
		 public string MaTB

          { 
                get { 
                    return m_MaTB;}

                set{m_MaTB=value;

                    GetField("MaTB").Set();
                    GetField("MaTB").IsNull=(value == null);           
                    }
          }
		 public string TenTB

          { 
                get { 
                    return m_TenTB;}

                set{m_TenTB=value;

                    GetField("TenTB").Set();
                    GetField("TenTB").IsNull=(value == null);           
                    }
          }
		 public string ThongTinCauHinh

          { 
                get { 
                    return m_ThongTinCauHinh;}

                set{m_ThongTinCauHinh=value;

                    GetField("ThongTinCauHinh").Set();
                    GetField("ThongTinCauHinh").IsNull=(value == null);           
                    }
          }

}
}
